ElasticPress\Feature\DidYouMean\DidYouMean S

Total Complexity 45
Dependencies 2
Dependents 1
Total lines 398
Lines of code 224
Logical lines of code 102
Comment lines 115
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_alternatives_terms()
A
50 9 27
get_original_search_term()
A
48 8 33
get_suggestion()
S
53 7 21
automatically_redirect_user()
S
52 6 26
add_mapping()
S
50 2 31
add_query_args()
S
55 2 21
set_ep_suggestion()
S
69 3 6
set_settings_schema()
S
54 1 24
get_suggested_term()
S
73 2 4
__construct()
S
63 1 11
set_i18n_strings()
S
71 1 5
setup()
S
67 1 7
requirements_status()
S
80 1 3
the_output()
S
73 1 5